<?php
/**
 * bs多规格sku商城系统
 * ============================================================================
 * 版权所有 2024-2099 wltx666.com，并保留所有权利。
 * 网站地址: https://wltx666.com
 * ============================================================================
 * Author: 草上飞
 * Email: wltx@alipay168.cn
 * QQ: 2719875001
 * Date: 2025/1/11
 * 描述:
 */

namespace app\admin\controller;

use app\result\chat\ChatManagerResult;
use think\App;

class Chat extends BaseAdmin
{
    protected $notAuth = [];

    public function __construct(App $app)
    {
        parent::__construct($app);
        $this->objResult = new ChatManagerResult();
    }

    public function ready()
    {
        data_exit_json($this->objResult->ready($this->kefu_id, $this->param));
    }

    public function history_list()
    {
        data_exit_json($this->objResult->history_list($this->kefu_id, $this->param));
    }

    public function conversations()
    {
        data_exit_json($this->objResult->conversation_list($this->kefu_id, $this->param));
    }
}
